<!--
  Generated template for the MymettinglistPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar text-center color="primary">
    <ion-title>会议</ion-title>
    <ion-buttons end>
      <button ion-button icon-only (click)="addMetting()" >
        <ion-icon name="add"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-segment [(ngModel)]="selectedseg">
    <ion-segment-button value="0" (click)="getMettingList()">
      待参加会议
    </ion-segment-button>
    <ion-segment-button value="1" (click)="getMettingList()">
      我发起的会议
    </ion-segment-button>
  </ion-segment>
  <ion-list>
      <ion-item *ngFor="let metting of mettinglist" detail-push (click)="gotoMettingDetail(metting)" >
        <ion-label *ngIf="metting.sfsh=='0'"  class="item-label">{{metting.topic}}<span style="color: red">(未审核)</span></ion-label>
        <ion-label *ngIf="metting.sfsh=='1'"   class="item-label">{{metting.topic}}</ion-label>
      </ion-item>
    </ion-list>
</ion-content>
